#ifndef  __BSPM2_DRIVER_H_

#define  __BSPM2_DRIVER_H_

#include "BspSpi.h"

#include "DatStruct.h"

extern TypeDefTMC4361_RegStruct TMC4361_M2RegStruct;
void M2_Init(void);
//void M2_TestInit(void);
//void M2_Test(void);
uint8_t M2_HardWareSendDat(uint8_t RegAddr,uint32_t Data);
uint8_t M2_HardWareReadDat(uint8_t RegAddr,uint32_t *Data);

#endif


